import request from "../utils/request";

export const userGet = (userInfo) => {//登录
    return request.get('/local/users', {
        params:userInfo
    })
}
export const userReg = (userInfo) => {//注册
    return request.post('/local/users',userInfo)
}
